package com.yyf.springboot2.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.boot.autoconfigure.domain.EntityScan;

import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author yyf
 * @since 2019-05-29
 */
@TableName("t_image")
@EntityScan
@Data
public class TImage implements Serializable {

    private static final long serialVersionUID = 1L;

	private Integer id;
	@TableField("fileName")
	private String fileName;
	private String remarks;
	private Integer type;
	private String url;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public String toString() {
		return "TImage{" +
				"id=" + id +
				", fileName='" + fileName + '\'' +
				", remarks='" + remarks + '\'' +
				", type=" + type +
				", url='" + url + '\'' +
				'}';
	}
}
